<%@page import="java.text.SimpleDateFormat"%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/layout.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<!--背景-->
	<div class="background">
		<img src="images/bg1.jpg" alt="" />
		<div class="logo"></div>
	</div>
	<!--主内容开始-->
	<div id="container">
		<div id="head">
			<a href="#" class="arrange" id="arrange"></a>
			<div class="yij">
				<a href="#">医技协同</a>
			</div>
			<div class="h-right">
				<a href="#" class="home"></a> <img src="images/line.png" width="2"
					height="50" alt="" /> <a href="#" class="cloud" id="cloud">
					<div class="same">云同步</div>
				</a> <img src="images/line.png" width="2" height="50" alt="" /> <a
					href="#" class="bell"><span class="tip">3</span></a> <img
					src="images/line.png" width="2" height="50" alt="" />
				<div class="user">
					<div class="pho">
						<img src="images/photo.jpg" width="52" height="50" alt="" />
					</div>
					<span id="name">张末末
						<div class="user-info" id="twodm">
							<div class="jtt"></div>
							<div class="menu">
								<div class="first">
									<a href="#">个人信息</a>
								</div>
								<div class="second">
									<a href="#">通知<em>3</em></a>
								</div>
								<a href="#" class="quit">退出</a>
							</div>
						</div>
					</span>

				</div>
				<img src="images/line.png" width="2" height="50" alt="" /> <a
					href="#" class="notice" id="notice"></a>
			</div>
		</div>
		<!--侧边栏-右-->
		<div class="side-bar" id="side-bar">
			<div class="side-bar-in">
				<ul class="tab">
					<li class="title vtitle"><a href="#" class="lianxi"></a></li>
					<li class="title"><a href="#" class="heart"></a></li>
					<li class="title"><a href="#" class="setting"></a></li>
					<div class="vcon" id="vcon" style="display:block;">
						<ul>
							<li>
								<div class="pic">
									<img src="images/doctor2.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>张美芳</h4>
									<p>厦门市第一医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li class="xuanz">
								<div class="pic">
									<img src="images/doctor5.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>刘志泽</h4>
									<p>厦门市第二医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor3.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>赵美美</h4>
									<p>厦门市中山医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor6.png" alt="">
								</div> <span>
									<h4>王泽军</h4>
									<p>海沧医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor4.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>白丽兰</h4>
									<p>海军总医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor7.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>何平安</h4>
									<p>福建医科大学附属医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor2.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>刘晶晶</h4>
									<p>武警医院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
							<li>
								<div class="pic">
									<img src="images/doctor5.png" alt=""><span class="tis">10</span>
								</div> <span>
									<h4>唐逸汸</h4>
									<p>福建省立医院院</p>
							</span> <a href="#" class="v-big"></a>
							</li>
						</ul>
					</div>
					<div class="vcon">2</div>
					<div class="vcon">
						<div class="block">
							<span>背景颜色选择</span> <a href="#" class="dot" id="blue"><img
								src="images/blue_dot.png" width="14" height="14" alt="" /></a> <a
								href="#" class="dot" id="pink"><img
								src="images/pink_dot.png" width="14" height="14" alt="" /></a> <a
								href="#" class="dot" id="green"><img
								src="images/green_dot.png" width="14" height="14" alt="" /></a>
						</div>
						<div class="block">
							<span>显示不在线医生</span> <a href="#" class="off" id="off"></a>
						</div>
						<div class="block">
							<span>消息提示</span> <a href="#" class="open" id="open"></a>
						</div>
					</div>
				</ul>
			</div>
		</div>
		<!--左侧栏begin-->
		<div class="left-bar" id="left-bar">
			<ul>
				<li><a href="#" class="synergy">医技协同<em>医技协同</em></a></li>
				<li><a href="#" class="movie">影像诊断<em>影像诊断</em></a></li>
				<li><a href="#" class="computer">预约协同<em>预约协同</em></a></li>
				<li><a href="#" class="drug">预交金管理<em>预交金管理</em></a></li>
				<li><a href="#" class="results">个人绩效<em>个人绩效</em></a></li>
			</ul>
		</div>
		<!--左侧栏end-->
		<!--模块-->
		<div class="apply" id="">
			<div class="app-top">
				<div class="appmenu">
					<span class="depart">挂号状态</span>
				</div>
				<div class="appmenu"></div>
				<div class="appmenu"></div>
				<div class="appmenu"></div>
				<div class="appmenu"></div>
			</div>
			<!---->
			<div class="app-con">
				<div class="qietab">
					<div class="qiehuan qiegreen">
						<a>未诊断</a>
					</div>
					<input  type="text" id="date" name="date"  /><input id="dianji" type="submit" value="点击搜索(日期格式：eg 2019-10-17)" />
				</div>
				
				<!--表格-->
				<div class="app-grid">
					<div class="t-head">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td class="riqi">挂号编号</td>
								<td class="riqi">挂号时间</td>
								<td class="riqi">患者验证编码</td>
								<td class="riqi">状态</td>
								<td class="riqi">病人姓名</td>
								<td class="riqi">病人性别</td>
								<td class="riqi">病人邮箱</td>								
								<td>挂号者前来就诊</td>
							</tr>
						</table>
					</div>
					<div class="t-con">
						<div class="t-con1">
							<table class="table" width="100%" border="0" cellspacing="0" cellpadding="0">
								<!-- <tr class="biao">
								</tr> -->
							</table>
						</div>
					</div>
					<!--页码-->
				</div>
			</div>
		</div>
	</div>
	<!--主内容结束-->
	<script type="" src="js/jquery-1.12.4.js"></script>
	<script type="text/javascript">
	$(function() {		
		//alert(10);	
		var dat=null;
		$("#dianji").click(function(){
			//alert("点击搜索了...");
			dat =$("#date").val();
			//alert(10501);	
			$.getJSON("register",{"action":"pageshow","date":dat },function(datareg) {
			$(".table").html("");
			for ( var i in datareg) {
				//alert(datareg);
				var state=datareg[i].reState == 0 ? "未就诊":"已验证就诊";
					$.getJSON("userservlet",{"action":"showUserByNo","uid":datareg[i].uId},function(datauser){																		
				var str="<tr><td class=\"riqi\">"+datareg[i].reId+"</td><td class=\"riqi\">"+datareg[i].reDate+"</td><td class=\"riqi\">"+datareg[i].reVerId+"</td><td class=\"riqi\">"+state+"</td><td class=\"riqi\">"+datauser.uName +"</td><td class=\"riqi\">"+datauser.userSex +"</td><td class=\"riqi\">"+datauser.userEmail +"</td><td><a href=\"register?action=modify&idreg="+datareg[i].reId+"\" class=\"receive\"></a></td></tr>";
				$(".table").append(str);				
			});
		  }
		});
			$.ajaxSettings.async = false;			
		});
		$.getJSON("register",{"action":"pageshow"},function(datareg) {
			for ( var i in datareg) {
				//alert(datareg);
				var state=datareg[i].reState == 0 ? "未就诊":"已验证就诊";
					$.getJSON("userservlet",{"action":"showUserByNo","uid":datareg[i].uId},function(datauser){																		
				var str="<tr><td class=\"riqi\">"+datareg[i].reId+"</td><td class=\"riqi\">"+datareg[i].reDate+"</td><td class=\"riqi\">"+datareg[i].reVerId+"</td><td class=\"riqi\">"+state+"</td><td class=\"riqi\">"+datauser.uName +"</td><td class=\"riqi\">"+datauser.userSex +"</td><td class=\"riqi\">"+datauser.userEmail +"</td><td><a href=\"register?action=modify&idreg="+datareg[i].reId+"\" class=\"receive\"></a></td></tr>";
				$(".table").append(str);				
			});
		  }
		});
		$.ajaxSettings.async = false;		
	});
</script>
</body>

<script src="js/jquery-1.7.1.min.js" language="javascript"
	type="text/javascript"></script>
<script src="js/jquery.mousewheel.js" type="text/javascript"></script>
<script src="js/jquery.jscrollpane.min.js" type="text/javascript"></script>
<script type="text/javascript" src="js/jquery.event.drag-1.5.min.js"></script>
<script type="text/javascript" src="js/jquery.touchSlider.js"></script>
<script type="text/javascript" src="js/jquery.nicescroll.js"></script>
<script src="js/slide.js" language="javascript" type="text/javascript"></script>
<!--[if IE 6]> <script src="../js/EvPng.js" type="text/javascript"></script> 
<script language="javascript" type="text/javascript"> 
EvPNG.fix("*");
</script> 
<![endif]-->

</html>



